// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.meego 1.0
//import com.nokia.extras 1.1
//import "getjson.js" as GetJson
import "storage.js" as Store
Page {

    width: parent.width
    height: parent.height
    //rientationLock: PageOrientation.
    Image {
        id: image1

        anchors.verticalCenter:  parent.verticalCenter
        anchors.horizontalCenter: parent.horizontalCenter
        source: parent.width>480?"images/splash2.jpg":"images/splash1.jpg";

    }
    MouseArea {
             anchors.fill: image1

             onClicked: {
                  appWindow.pageStack.push(mainPage)
             }
         }

    Text {
                id: btnSignals
                visible: false
                //anchors.left: parent.left
                anchors.verticalCenter:  image1.verticalCenter
                anchors.horizontalCenter: image1.horizontalCenter
                text: "猛击这里。。"
                opacity: 0.470
                font.bold: true
                font.pointSize: 20
                verticalAlignment: Text.AlignVCenter
                horizontalAlignment: Text.AlignHCenter
                wrapMode: Text.NoWrap

    }


    Component.onCompleted: {
      screen.allowedOrientations = Screen.Portrait;
    appWindow.platformStyle = Store.getSetting("platformStyle")==="defaultStyle"?
        defaultStyle:(Store.getSetting("platformStyle")==="customStyle"?
                               customStyle: defqiubai);
     theme.inverted = Store.getSetting("theme.inverted")==="Unknown"?false: Store.getSetting("theme.inverted");
     appWindow.pageStack.pop(mainPage);
    }
}
